package Homeworks.HOMEWORK0223;

import java.util.Scanner;

public class Homework0223_4 {
    public static void main(String[] args){
        System.out.println("输入n");
        Scanner sc=new Scanner(System.in);
        int N=sc.nextInt();
        int I=1;
        int J=1;
        int K=N;
        for(;I<=N;I++){
            for(J=1;J<=N-I;J++){
                System.out.print(" ");
            }
            for(J=1;J<=2*I-1;J++){
                System.out.print("*");
            }
            System.out.println("");
        }
    }

}
